package com.jc.order.constant;

/**
 * 限额申请表常量定义
 */
public class QuotaApplyConstants {
    
    /**
     * 业务类型常量
     */
    public static class BusinessType {
        public static final String LC = "LC";
        public static final String NON_LC = "NON_LC";
        public static final String DOMESTIC = "DOMESTIC";
    }
    
    /**
     * 报告类型常量
     */
    public static class ReportType {
        public static final String NORMAL = "1";
        public static final String URGENT = "2";
    }
    
    /**
     * 是否需要翻译件常量
     */
    public static class NeedTranslation {
        public static final String NO = "1";
        public static final String YES = "2";
    }
    
    /**
     * 循环使用常量
     */
    public static class CycleUse {
        public static final String NO = "0";
        public static final String YES = "1";
    }
    
    /**
     * 历史交易常量
     */
    public static class HistoryBusiness {
        public static final String YES = "1";
        public static final String NO = "0";
    }
    
    /**
     * 拖欠标识常量
     */
    public static class IsDefault {
        public static final String YES = "1";
        public static final String NO = "0";
    }
    
    /**
     * 分批常量
     */
    public static class IsBatch {
        public static final String YES = "1";
        public static final String NO = "0";
    }
    
    /**
     * 错误提示常量
     */
    public static class ErrorMsg {
        public static final String CHANGE_REASON_INVALID = "限额变更原因无效";
        public static final String CHANGE_REASON_LC_NOT_ALLOWED = "限额变更原因不能选择 【支付方式调整】";
        public static final String OPERATION_TYPE_MISMATCH = "操作类型匹配错误";
        public static final String COUNTRY_INVALID = "无效的国家/地区代码(countryOrArea)";
        public static final String PROVINCE_INVALID = "无效的省份代码(province)";
        public static final String PRODUCT_CATEGORY_INVALID = "无效的商品类别(exportTrade)";
        public static final String CYCLE_USE_INVALID = "申请限额是否循环使用值无效，必须是0(非循环)或1(循环)";
        public static final String BATCH_REQUIRED = "至少需要填写一项交易金额（L/C、D/P或D/A&OA）";
        public static final String TRANSLATION_INVALID = "是否需要翻译件值无效，必须是1(不需要)或2(需要)";
        public static final String LC_PAYWAY_INVALID = "外贸信用证支付方式必须为'LC'";
        public static final String NON_LC_PAYWAY_INVALID = "外贸非信用证支付方式必须为'DP'、'DA'或'OA'";
        public static final String REPORT_TYPE_INVALID = "报告类型值无效，必须是1(普通)或2(加急)";
    }
    
    /**
     * 字段名称常量
     */
    public static class FieldName {
        public static final String OPERATION_TYPE = "操作类型";
        public static final String CORP_SERIAL_NO = "系统流水号";
        public static final String ORIGINAL_CORP_SERIAL_NO = "原申请流水号";
        public static final String CHANGE_REASON_CODE = "限额变更原因";
        public static final String RISK_COMP_NAME = "买方名称";
        public static final String COUNTRY_OR_AREA = "买方国家和地区";
        public static final String RISK_COMP_ADDRESS = "买方地址";
        public static final String RISK_MARK = "买方注册号";
        public static final String CREATE_USER = "操作人不能为空";
        public static final String PROVINCE = "买方所属省份（当买方国家和地区为(中国 CHN)时必填）";
        public static final String PAID_TERM = "限额期限";
        public static final String APPLI_AMOUNT = "金额";
        public static final String REPORT_TYPE = "报告类型";
        public static final String EXPORT_TRADE = "商品类别";
        public static final String EXPORT_TRADE_INPUT = "商品类别说明（当商品类别选择'其他'时必填）";
        public static final String CREDIT_NO = "信用证号";
        public static final String IS_CYCLE_USE = "申请限额是否循环使用";
        public static final String BANK_NAME = "开证行名称";
        public static final String BANK_COUNTRY = "开证行国家和地区";
        public static final String BANK_SWIFT = "开证行SWIFT";
        public static final String BANK_ADDRESS = "开证行地址";
        public static final String EXPORT_COM_NAME = "出口商品名称";
        public static final String IS_BATCH = "是否分批";
        public static final String MAX_AMOUNT1 = "第一批金额（当是否分批=是时必填）";
        public static final String MAX_AMOUNT2 = "第二批金额（当是否分批=是时必填）";
        public static final String EARLY_DEAL_YEAR = "最早成交年份（存在历史交易外贸时必填）";
        public static final String BANK_PERFORMANCE = "银行付款表现（信用证下存在历史交易时必填）";
        public static final String RISK_PERFORMANCE = "买方付款表现（存在历史交易时必填）";
        public static final String IS_DEFAULT_THIS = "历史上有无拖欠";
        public static final String DEFAULT_AMOUNT = "拖欠金额（存在拖欠时必填）";
        public static final String DEFAULT_DATE = "拖欠时间（存在拖欠时必填）";
        public static final String EXPORT_NAME = "出口商品名称（外贸非信用证业务时必填）";
        public static final String NEED_TRANSLATION = "是否需要翻译件（外贸非信用证业务时必填）";
        public static final String PAY_WAY = "支付方式";
    }
}